package com.black.app.domain.req.find.query;

import com.black.common.core.domain.page.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
@ApiModel(value = "AppFindZhangzhishiessayreq", description = "APP端-查询知识评论请求对象")
public class AppFindZhangzhishiessayreq extends PageReq {

    /**
     * 文章id
     */
    @ApiModelProperty(value = "文章id")
    private Long essayid;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章内容")
    private String brief;

    @ApiModelProperty(value = "图片路径")
    private String imageUrl;

    @ApiModelProperty(value = "点赞数")
    private String dianzhan;

    @ApiModelProperty(value = "评论数")
    private String comments;

    @ApiModelProperty(value = "发布人id")
    private Long userid;

    @ApiModelProperty(value = "发布人地址")
    private String useraddress;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "发布时间")
    private Date createTime;

}
